<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>出院登记</title>

</head>
<body>
	<div class="easyui-panel" title="病人基本信息"  data-options="border:false,fit:true,onOpen:createLiveOutId">
	<form id="liveOut_form" action="to_liveOutNew" method="post">
		<table class="liveout" style="width: 100%; padding: 2px 3px;">
			<tr>
				<td width="33%">
				<input name="liveoutid" style="width: 70%;" id="liveOut_outID"
					readonly="readonly" class="easyui-textbox" label="出院号："
					data-options="required:true"></td>
				<td width="33%">
				<input name="liveoutnoticid" style="width: 70%;" id="liveOut_outNoticID"
					class="easyui-textbox" label="出院通知号："
					data-options="buttonIcon:'icon-search',onClickButton:createLiveOutNoticPage,required:true"></td>
				<td width="33%">
				<input name="mjnumber3"  style="width: 70%;" readonly="readonly" id="liveOut_MZID"
					class="easyui-textbox" label="门/急诊号：" data-options="required:true"></td>
			</tr>
			<tr>
				<td width="33%">
				<input name="liveoutdate"  style="width: 70%;"
					class="easyui-datebox" value="1" label="出院时间："></td>
				<td width="33%">
				<input name="liveid3" style="width: 70%;" readonly="readonly" id="liveOut_LiveID"
					class="easyui-textbox" label="住院号：" data-options="required:true"></td>
				<td width="33%">
				<input name="liveouttype"  class="easyui-textbox" label="出院类型:" readonly="readonly"  id="liveOut_outType"
					data-options="width:'70%',required:true"></td>
			</tr>
			<tr>
				<td width="33%">
				<input name="patientname3" style="width: 70%;" readonly="readonly" id="liveOut_liveName"
					class="easyui-textbox" label=病人姓名：
					"
					data-options="required:true"></td>
				<td width="33%">
				<input style="width: 70%;" readonly="readonly" id="liveOut_tel"
					class="easyui-textbox" label="联系电话：" data-options="required:true"></td>
				<td width="33%">
				<input name="office3" class="easyui-textbox" label="住院科室:" readonly="readonly" id="liveOut_office"
					data-options="width:'70%',required:true"></td>
			</tr>
			<tr>
				<td width="33%">
				<input name="livedoctor3" style="width: 60%;" readonly="readonly" id="liveOut_docname"
					class="easyui-textbox" label="主治医生:" data-options="required:true"></td>
				<td width="33%">
				<input style="width: 60%;" readonly="readonly" id="liveOut_depositStatus"
					class="easyui-textbox" label="押金状态:" data-options="required:true"></td>
				<td width="33%">
				<input style="width: 60%;" readonly="readonly" id="liveOut_bedStatus"
					class="easyui-textbox" label="床位状态:" data-options="required:true"></td>

			</tr>
			<tr>
				<td width="33%">
				<input style="width: 60%;" readonly="readonly" id="liveOut_allspend"
					class="easyui-numberbox" label="住院消费：" data-options="required:true"></td>
				<td width="33%">
				<input style="width: 60%;" readonly="readonly" id="liveOut_nopay"
					class="easyui-numberbox" label="未结费用：" data-options="required:true"></td>
				<td width="33%">
				<input name="paystatus" class="easyui-numberbox" label="财务状态:" readonly="readonly" id="liveOut_feesStatus"
					data-options="width:'60%',required:true"></td>
			</tr>

		</table>
	</form>

		<div class="easyui-tabs" border="false"
			style="width: 100%; height: 62%;">
			<div title="费用清单">
				<table class="easyui-datagrid" id="liveOut_tallyTable"
					data-options="singleSelect:true,fitColumns: true,height:'100%',width:'100%',
				nowrap: false,border:false,rownumbers:true,
				pagination:true,pageList: [15,30,40,50],pageSize: 15">
					<thead>
						<tr>
							<th data-options="field:'tallyid',width:100,align:'center'">每日费用编号</th>
							<th data-options="field:'patientname5',width:80,align:'center'">病人姓名</th>
							<th data-options="field:'livetype',width:80,align:'center'">住院类型</th>
							<th data-options="field:'tallytime',width:150,align:'center'">记账时间</th>
							<th data-options="field:'tallytotal',width:80,align:'center'">账单合计</th>
							<th data-options="field:'tallystatus',width:80,align:'center'">核算状态</th>
							<th data-options="field:'paystatus2',width:80,align:'center'">结算状态</th>
							<th data-options="field:'admin4',width:80,align:'center'">经办人</th>
						</tr>
					</thead>

				</table>
			</div>
			<div title="缴费清单">
				<table class="easyui-datagrid" id="liveOut_payTable"
					data-options="singleSelect:true,width:'100%',
		                fit:true,nowrap: false,rownumbers:true,border:false,pagination:true,
		                pageList:[15],pageSize:15
						">
					<thead>
						<tr>
							<th style="width: 20%;"
								data-options="field:'payid',align:'center'">缴费编号</th>
							<th style="width: 15%;"
								data-options="field:'paytype',align:'center'">缴费类型</th>
							<th style="width: 15%;"
								data-options="field:'patientname2',align:'center'">病人姓名</th>
							<th style="width: 20%;"
								data-options="field:'paytime',align:'center'">缴费时间</th>
							<th style="width: 15%;"
								data-options="field:'payamount',align:'center'">缴费金额</th>
							<th style="width: 15%;"
								data-options="field:'admini',align:'center'">经办人</th>
						</tr>
					</thead>

				</table>
			</div>
		</div>
<div style="margin: 5px 20px;">
	<input onclick="" class="outbt" type="button" value="查询">
	<input class="outbt" type="button"  onclick="clearLiveOut()" value="新建">
	<input class="outbt" type="button"  onclick="submitLiveOutFrom()" value="提交">
</div>
	</div>
	
	<style type="text/css">

	.outbt{
	 margin: 2px 8px 2px 0px;
	height:25px;
	border-radius: 3px;
	font-size: 14px;
	border: 1px #3366FF solid;
	background: #3399FF;
	color: white;
	cursor: pointer;
	}
</style>
</body>
</html>